package com.darkness.rpc.registercenter;

import com.darkness.rpc.registercenter.common.RegisteredServiceInfo;
import org.apache.dubbo.common.extension.SPI;

@SPI
public interface Register {

    void register(String group, String version, String interfaceName, String hostName, Integer port) ;

    RegisteredServiceInfo getService(String group, String version, String interfaceName);

}
